#include <bits/stdc++.h>
using namespace std;
int main()
{
    double score;
    cin >> score;
    cout << 150 * log(score);
}